package com.qiche.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "car_line")
public class CarLine {
    @Id
    @Column(name = "line_id")
    private Long lineId;

    @Column(name = "brand_id")
    private Long brandId;

    /**
     * 汽车厂家标识
     */
    @Column(name = "factory_id")
    private Long factoryId;

    @Column(name = "factory_name")
    private String factoryName;

    /**
     * 汽车车系名字
     */
    @Column(name = "line_name")
    private String lineName;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * @return line_id
     */
    public Long getLineId() {
        return lineId;
    }

    /**
     * @param lineId
     */
    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    /**
     * @return brand_id
     */
    public Long getBrandId() {
        return brandId;
    }

    /**
     * @param brandId
     */
    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    /**
     * 获取汽车厂家标识
     *
     * @return factory_id - 汽车厂家标识
     */
    public Long getFactoryId() {
        return factoryId;
    }

    /**
     * 设置汽车厂家标识
     *
     * @param factoryId 汽车厂家标识
     */
    public void setFactoryId(Long factoryId) {
        this.factoryId = factoryId;
    }

    /**
     * @return factory_name
     */
    public String getFactoryName() {
        return factoryName;
    }

    /**
     * @param factoryName
     */
    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    /**
     * 获取汽车车系名字
     *
     * @return line_name - 汽车车系名字
     */
    public String getLineName() {
        return lineName;
    }

    /**
     * 设置汽车车系名字
     *
     * @param lineName 汽车车系名字
     */
    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取修改时间
     *
     * @return update_time - 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置修改时间
     *
     * @param updateTime 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}